\hypertarget{classCUlawCodec}{
\section{\-C\-Ulaw\-Codec \-Class \-Reference}
\label{classCUlawCodec}\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}}
}


{\ttfamily \#include $<$ulaw\-\_\-codec.\-h$>$}

\-Inheritance diagram for \-C\-Ulaw\-Codec\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classCUlawCodec}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCUlawCodec_adf051e9e1a2276ecb36c47215d82f4de}{\-C\-Ulaw\-Codec} ()
\item 
virtual \hyperlink{classCUlawCodec_a6ad0d71f44757c41278f6b4f7a36c9e0}{$\sim$\-C\-Ulaw\-Codec} ()
\item 
virtual \hyperlink{namespaceNAudioFormats_a3bd6168a4f5f18e84873337a65d3062c}{\-N\-Audio\-Formats\-::\-E\-Codec} \hyperlink{classCUlawCodec_a8ed0f4a7f9ee13dbda37d6ade2f07a7d}{get\-Codec\-Type} ()
\item 
virtual double \hyperlink{classCUlawCodec_a7671da2bdfb39e84d815cdd069cf910d}{convert\-From\-S8\-To\-Double} (int8\-\_\-t p\-Sample)
\item 
virtual int8\-\_\-t \hyperlink{classCUlawCodec_abe9e70e396d1bed456126f3f25da8203}{convert\-From\-Double\-To\-S8} (double p\-Sample)
\item 
virtual double \hyperlink{classCUlawCodec_a7f6d5bc792ae7935b03d822a20d04a18}{convert\-From\-U8\-To\-Double} (uint8\-\_\-t p\-Sample)
\item 
virtual uint8\-\_\-t \hyperlink{classCUlawCodec_a4b71b94fa4bddb6d053b8f7bdefa22e9}{convert\-From\-Double\-To\-U8} (double p\-Sample)
\item 
virtual double \hyperlink{classCUlawCodec_a1d68d18749d3d9e020f6081fe4b3f75f}{convert\-From\-S16\-To\-Double} (int16\-\_\-t p\-Sample)
\item 
virtual int16\-\_\-t \hyperlink{classCUlawCodec_a6757a5cf0c9604ac4527c4d682b8b290}{convert\-From\-Double\-To\-S16} (double p\-Sample)
\item 
virtual double \hyperlink{classCUlawCodec_a3c7edbdc9ca0e482da44b9f65e4ec1b1}{convert\-From\-U16\-To\-Double} (uint16\-\_\-t p\-Sample)
\item 
virtual uint16\-\_\-t \hyperlink{classCUlawCodec_a4a41c84ee6ed7d61bbe91f79c9a168d2}{convert\-From\-Double\-To\-U16} (double p\-Sample)
\end{DoxyCompactItemize}
\subsection*{\-Private \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCUlawCodec_a4534d3ee6df0282c562d27957b2dfcbc}{\-C\-Ulaw\-Codec} (const \hyperlink{classCUlawCodec}{\-C\-Ulaw\-Codec} \&)
\item 
\hyperlink{classCUlawCodec}{\-C\-Ulaw\-Codec} \& \hyperlink{classCUlawCodec_a6c88a660aa8beeb9ed3c7bae94894021}{operator=} (const \hyperlink{classCUlawCodec}{\-C\-Ulaw\-Codec} \&)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
static unsigned char \hyperlink{classCUlawCodec_a173f940857dd77c0449fc7c3ec66836b}{m\-Exponent\-Table} \mbox{[}256\mbox{]}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classCUlawCodec_adf051e9e1a2276ecb36c47215d82f4de}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}}
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{\-C\-Ulaw\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Ulaw\-Codec\-::\-C\-Ulaw\-Codec (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classCUlawCodec_adf051e9e1a2276ecb36c47215d82f4de}
\hypertarget{classCUlawCodec_a6ad0d71f44757c41278f6b4f7a36c9e0}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!$\sim$\-C\-Ulaw\-Codec@{$\sim$\-C\-Ulaw\-Codec}}
\index{$\sim$\-C\-Ulaw\-Codec@{$\sim$\-C\-Ulaw\-Codec}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{$\sim$\-C\-Ulaw\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Ulaw\-Codec\-::$\sim$\-C\-Ulaw\-Codec (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCUlawCodec_a6ad0d71f44757c41278f6b4f7a36c9e0}
\hypertarget{classCUlawCodec_a4534d3ee6df0282c562d27957b2dfcbc}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}}
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{\-C\-Ulaw\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Ulaw\-Codec\-::\-C\-Ulaw\-Codec (
\begin{DoxyParamCaption}
\item[{const {\bf \-C\-Ulaw\-Codec} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCUlawCodec_a4534d3ee6df0282c562d27957b2dfcbc}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classCUlawCodec_a6757a5cf0c9604ac4527c4d682b8b290}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!convert\-From\-Double\-To\-S16@{convert\-From\-Double\-To\-S16}}
\index{convert\-From\-Double\-To\-S16@{convert\-From\-Double\-To\-S16}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{convert\-From\-Double\-To\-S16}]{\setlength{\rightskip}{0pt plus 5cm}int16\-\_\-t \-C\-Ulaw\-Codec\-::convert\-From\-Double\-To\-S16 (
\begin{DoxyParamCaption}
\item[{double}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCUlawCodec_a6757a5cf0c9604ac4527c4d682b8b290}


\-Implements \hyperlink{classICodec_a6afd4b23e8ddfafd5c34286aaf05a935}{\-I\-Codec}.

\hypertarget{classCUlawCodec_abe9e70e396d1bed456126f3f25da8203}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!convert\-From\-Double\-To\-S8@{convert\-From\-Double\-To\-S8}}
\index{convert\-From\-Double\-To\-S8@{convert\-From\-Double\-To\-S8}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{convert\-From\-Double\-To\-S8}]{\setlength{\rightskip}{0pt plus 5cm}int8\-\_\-t \-C\-Ulaw\-Codec\-::convert\-From\-Double\-To\-S8 (
\begin{DoxyParamCaption}
\item[{double}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCUlawCodec_abe9e70e396d1bed456126f3f25da8203}


\-Implements \hyperlink{classICodec_ab33bc0554038c4a16dfa013730f89a64}{\-I\-Codec}.

\hypertarget{classCUlawCodec_a4a41c84ee6ed7d61bbe91f79c9a168d2}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!convert\-From\-Double\-To\-U16@{convert\-From\-Double\-To\-U16}}
\index{convert\-From\-Double\-To\-U16@{convert\-From\-Double\-To\-U16}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{convert\-From\-Double\-To\-U16}]{\setlength{\rightskip}{0pt plus 5cm}uint16\-\_\-t \-C\-Ulaw\-Codec\-::convert\-From\-Double\-To\-U16 (
\begin{DoxyParamCaption}
\item[{double}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCUlawCodec_a4a41c84ee6ed7d61bbe91f79c9a168d2}


\-Implements \hyperlink{classICodec_a19b158526af31b63259ea503b4775bef}{\-I\-Codec}.

\hypertarget{classCUlawCodec_a4b71b94fa4bddb6d053b8f7bdefa22e9}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!convert\-From\-Double\-To\-U8@{convert\-From\-Double\-To\-U8}}
\index{convert\-From\-Double\-To\-U8@{convert\-From\-Double\-To\-U8}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{convert\-From\-Double\-To\-U8}]{\setlength{\rightskip}{0pt plus 5cm}uint8\-\_\-t \-C\-Ulaw\-Codec\-::convert\-From\-Double\-To\-U8 (
\begin{DoxyParamCaption}
\item[{double}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCUlawCodec_a4b71b94fa4bddb6d053b8f7bdefa22e9}


\-Implements \hyperlink{classICodec_a4fbf30da96b9c8ff5677e96eb79c5f69}{\-I\-Codec}.

\hypertarget{classCUlawCodec_a1d68d18749d3d9e020f6081fe4b3f75f}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!convert\-From\-S16\-To\-Double@{convert\-From\-S16\-To\-Double}}
\index{convert\-From\-S16\-To\-Double@{convert\-From\-S16\-To\-Double}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{convert\-From\-S16\-To\-Double}]{\setlength{\rightskip}{0pt plus 5cm}double \-C\-Ulaw\-Codec\-::convert\-From\-S16\-To\-Double (
\begin{DoxyParamCaption}
\item[{int16\-\_\-t}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCUlawCodec_a1d68d18749d3d9e020f6081fe4b3f75f}


\-Implements \hyperlink{classICodec_a932b130f0ea5582384463ea6233852f2}{\-I\-Codec}.

\hypertarget{classCUlawCodec_a7671da2bdfb39e84d815cdd069cf910d}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!convert\-From\-S8\-To\-Double@{convert\-From\-S8\-To\-Double}}
\index{convert\-From\-S8\-To\-Double@{convert\-From\-S8\-To\-Double}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{convert\-From\-S8\-To\-Double}]{\setlength{\rightskip}{0pt plus 5cm}double \-C\-Ulaw\-Codec\-::convert\-From\-S8\-To\-Double (
\begin{DoxyParamCaption}
\item[{int8\-\_\-t}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCUlawCodec_a7671da2bdfb39e84d815cdd069cf910d}


\-Implements \hyperlink{classICodec_aa352c902221b6c813033857eae1f1441}{\-I\-Codec}.

\hypertarget{classCUlawCodec_a3c7edbdc9ca0e482da44b9f65e4ec1b1}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!convert\-From\-U16\-To\-Double@{convert\-From\-U16\-To\-Double}}
\index{convert\-From\-U16\-To\-Double@{convert\-From\-U16\-To\-Double}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{convert\-From\-U16\-To\-Double}]{\setlength{\rightskip}{0pt plus 5cm}double \-C\-Ulaw\-Codec\-::convert\-From\-U16\-To\-Double (
\begin{DoxyParamCaption}
\item[{uint16\-\_\-t}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCUlawCodec_a3c7edbdc9ca0e482da44b9f65e4ec1b1}


\-Implements \hyperlink{classICodec_a132e3e66477b84ac0ae68d02348bcb13}{\-I\-Codec}.

\hypertarget{classCUlawCodec_a7f6d5bc792ae7935b03d822a20d04a18}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!convert\-From\-U8\-To\-Double@{convert\-From\-U8\-To\-Double}}
\index{convert\-From\-U8\-To\-Double@{convert\-From\-U8\-To\-Double}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{convert\-From\-U8\-To\-Double}]{\setlength{\rightskip}{0pt plus 5cm}double \-C\-Ulaw\-Codec\-::convert\-From\-U8\-To\-Double (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCUlawCodec_a7f6d5bc792ae7935b03d822a20d04a18}


\-Implements \hyperlink{classICodec_a9a5757b34cc8008ee89c047f70510364}{\-I\-Codec}.

\hypertarget{classCUlawCodec_a8ed0f4a7f9ee13dbda37d6ade2f07a7d}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!get\-Codec\-Type@{get\-Codec\-Type}}
\index{get\-Codec\-Type@{get\-Codec\-Type}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{get\-Codec\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-N\-Audio\-Formats\-::\-E\-Codec} \-C\-Ulaw\-Codec\-::get\-Codec\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCUlawCodec_a8ed0f4a7f9ee13dbda37d6ade2f07a7d}


\-Implements \hyperlink{classICodec_a7372c452a54bcf4dfcaab3bb2031c277}{\-I\-Codec}.

\hypertarget{classCUlawCodec_a6c88a660aa8beeb9ed3c7bae94894021}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!operator=@{operator=}}
\index{operator=@{operator=}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-C\-Ulaw\-Codec}\& \-C\-Ulaw\-Codec\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-C\-Ulaw\-Codec} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCUlawCodec_a6c88a660aa8beeb9ed3c7bae94894021}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classCUlawCodec_a173f940857dd77c0449fc7c3ec66836b}{
\index{\-C\-Ulaw\-Codec@{\-C\-Ulaw\-Codec}!m\-Exponent\-Table@{m\-Exponent\-Table}}
\index{m\-Exponent\-Table@{m\-Exponent\-Table}!CUlawCodec@{\-C\-Ulaw\-Codec}}
\subsubsection[{m\-Exponent\-Table}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \-C\-Ulaw\-Codec\-::m\-Exponent\-Table}\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCUlawCodec_a173f940857dd77c0449fc7c3ec66836b}
{\bfseries \-Initial value\-:}
\begin{DoxyCode}
 {
        0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3,
        4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
        5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
        5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
        6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
        6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
        6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
        6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
        7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
}
\end{DoxyCode}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{ulaw__codec_8h}{ulaw\-\_\-codec.\-h}\item 
\hyperlink{ulaw__codec_8cxx}{ulaw\-\_\-codec.\-cxx}\end{DoxyCompactItemize}
